package com.atguigu.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @ProjectName: mscloud
 * @Package: com.atguigu.springcloud.service
 * @ClassName: PaymentFallbackService
 * @Author: Administrator
 * @Description: 业务层实现类
 * @Date: 2022/4/18 0018 15:05
 * @Version: 1.0
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService{
    @Override
    public String paymentInfo_OK(Integer id) {
        return "------------调用paymentInfo_OK报错,o(╥﹏╥)o---------------";
    }

    @Override
    public String paymentInfo_timeOut(Integer id) {
        return "----------------调用paymentInfo_timeOut报错，o(╥﹏╥)o------------------";
    }
}
